<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>classify</title>
    <link rel="stylesheet" href="./css/public.css">
    <link rel="stylesheet" href="./css/classify.css">
</head>
<body>
    <div class="container">
        <div class="list">
            <div class="head">文章分类</div>
            <div class="search">
                <input type="text" placeholder="输入新分类名" id="search">
                <input type="button" value="添加" id="searchBtn">
            </div>
            <div class="main">
                <div class="row">
                    <div class="message">
                        <div class="id">id</div>
                        <div class="rolename">分类名</div>
                    </div>
                    <div class="operation">操作</div>
                </div>
            </div>
        </div>
        <!-- <div class="introduce">
            <div class="head">详情</div>
        </div> -->
    </div>
    <script src="./node_modules/axios/dist/axios.js"></script>
    <script>
        axios.get('https://ty.php800.cn/api/token.php',{
            headers:{
                TOKEN:localStorage.getItem('token'),
                SAT:'1234567'
            }
        }).then((res)=>{
            console.log(res)
            if(!res.data.verify){
                top.window.location.href='./login.html'
            }
        })
    </script>
    <script src="./js/classify.js"></script>
</body>
</html>